# This is the root ITK CMakeLists file.
SET( CMAKE_CXX_COMPILER "/opt/intel/bin/icpc" )
SET( CMAKE_C_COMPILER "/opt/intel/bin/icc" )
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
IF(COMMAND CMAKE_POLICY)
  CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)

PROJECT(pwvPreview)
FIND_PACKAGE ( ITK)
IF ( ITK_FOUND)
INCLUDE( ${USE_ITK_FILE} )
ENDIF( ITK_FOUND)

INCLUDE_DIRECTORIES(
${pwvProject_SOURCE_DIR}
)
ADD_EXECUTABLE( pwvPreview pwvPreview.cpp)
TARGET_LINK_LIBRARIES ( pwvPreview ${ITK_LIBRARIES} )
# cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug .
# cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Release .
